/**
 * 
 */
package vanhoc.android.utils;

import com.telpoo.truyencuoi.R;

import android.content.Context;
import android.content.res.Resources;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.drawable.Drawable;

/**
 * @author SEVEN
 *
 */
public class ResourceUtils {
	private Context _context;
	private Resources Res;
	
	public ResourceUtils(Context context) {
		Res = context.getResources();
	}
	
	//get string from resources
	public String getString(int res){
		return Res.getString(res);
	}
	
	
	public String[] getStringArray(int res){
		return Res.getStringArray(res);
	}
	
	//get string from resources
	public Drawable getBackgroundIcon(int res){
		return Res.getDrawable(res);
	}
		
	
/*	public Bitmap getBitmapResource(int drawable){
		
	}*/
	
	
}
